package days48;

import java.util.Scanner;

public class day13 {
    public static void main(String[] args) {
        Scanner scanner=new Scanner(System.in);
        int n=scanner.nextInt();
        int[] arr=new int[n];
        int sum=0;
        int sum2=1;
        int count=0;
        for (int i = 0; i < n; i++) {

        }

    }
    public static void main1(String[] args) {
        Scanner scanner=new Scanner(System.in);
        int a=scanner.nextInt();
        int b=scanner.nextInt();
        int c=scanner.nextInt();
        int count=0;
        //判断平年闰年
        int[] arr=new int[]{0,31,28,31,30,31,30,31,31,30,31,30,31};
        boolean k= judgeYears(a);
        if(k){
            arr[2]=29;
        }
        for (int i = 0; i < b; i++) {
            count+=arr[i];
        }
        count+=c;
        System.out.println(count);
    }

    private static boolean judgeYears(int a) {
        if(a%400==0||(a%100!=0&&a%4==0)){
            return true;
        }
        return false;
    }
}
